package cn.com.bluemoon.daps.model.vo.score;

import cn.com.bluemoon.daps.common.enums.DatabaseType;

/**
 * @author karry
 * @Data 2021/7/22
 * @Time:9:29
 */
public enum TableScoreRuleCode {

    STANDARD_PERCENT(1,"STANDARD_PERCENT"),
    EXIST_PRIMARY(2, "EXIST_PRIMARY"),
    PRIMARY_IS_INT(3, "PRIMARY_IS_INT"),
    AUTO_IS_UNSIGNED(4, "AUTO_IS_UNSIGNED"),
    IS_TIMESTAMP(5, "IS_TIMESTAMP"),
    CHAR_IS_NULL_NUMBER(6, "CHAR_IS_NULL_NUMBER"),
    CHAR_LENGTH(7,"CHAR_LENGTH"),
    CHAR_PERCENT(8,"CHAR_PERCENT"),
    SINGLE_MAX_LENGTH(9, "SINGLE_MAX_LENGTH"),
    INDEX_NUMBER(10, "INDEX_NUMBER"),
    INDEX_PREFIX_LEGAL(11, "INDEX_PREFIX_LEGAL"),
    IS_EXIST_KEY_WORDS(12,"IS_EXIST_KEY_WORDS"),
    IS_USE_TEXT(13, "IS_USE_TEXT"),
    NOT_TINYINT(14, "NOT_TINYINT"),
    TABLE_FIELD_TOTAL(15, "TABLE_FIELD_TOTAL");

    // 评分规则编号
    private Integer number;

    // 评分规则唯一码值
    private String code;

    TableScoreRuleCode(Integer number, String code){

    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
